package com.vm.runtimedata;

/**
 * 栈溢出
 */
public class StackOverFlowErrorTest {

    public static int count =0 ;
    public static void main(String[] args) {
        //Exception in thread "main" java.lang.StackOverflowError
        //可通过设置-Xss2k 来设置栈的大小
        System.out.println(count++);
        main(args);
    }

}
